package com.biwin.module.org.api.vo;


import com.biwin.common.app.vo.BwBasicVo;
import io.swagger.annotations.ApiModel;

import java.util.Date;
import java.util.List;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
@ApiModel(value = "系统用户返回对象 - SystemUserVo",
        description = "系统用户的返回对象")
public class SystemUserVo extends BwBasicVo {

    /**
     * 登录账号
     */
    private String account;

    /**
     * 性别
     */
    private int sex;

    /**
     * 姓名
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 密码错误次数
     */
    private int passwordFaultNum;

    /**
     * 密码最后一次修改时间
     */
    private Date passwordLastModifyDate;

    /**
     * 账户最后一次修改时间
     */
    private Date lastLoginDate;

    /**
     * 是否已经锁定
     */
    private boolean locked;

    /**
     * 账户是否有效
     */
    private boolean effective;

    /**
     * 联系电话
     */
    private String tel;

    /**
     * 拥有的岗位信息
     */
    private List<PositionVo> positionList;


    public SystemUserVo() {
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPasswordFaultNum() {
        return passwordFaultNum;
    }

    public void setPasswordFaultNum(int passwordFaultNum) {
        this.passwordFaultNum = passwordFaultNum;
    }

    public Date getPasswordLastModifyDate() {
        return passwordLastModifyDate;
    }

    public void setPasswordLastModifyDate(Date passwordLastModifyDate) {
        this.passwordLastModifyDate = passwordLastModifyDate;
    }

    public Date getLastLoginDate() {
        return lastLoginDate;
    }

    public void setLastLoginDate(Date lastLoginDate) {
        this.lastLoginDate = lastLoginDate;
    }

    public boolean getLocked() {
        return locked;
    }

    public void setLocked(boolean locked) {
        this.locked = locked;
    }

    public boolean getEffective() {
        return effective;
    }

    public void setEffective(boolean effective) {
        this.effective = effective;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public List<PositionVo> getPositionList() {
        return positionList;
    }

    public void setPositionList(List<PositionVo> positionList) {
        this.positionList = positionList;
    }
}
